package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "sys_role")
public class SysRole implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "role_english")
    private String roleEnglish;

    @Column(name = "parent_keyId")
    private Integer parentKeyId;

    @Column(name = "role_intro")
    private String roleIntro;

    @Column(name = "is_super_man")
    private Integer isSuperMan;

    @Column(name = "seq")
    private Integer seq; //排序字段

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleEnglish() {
        return roleEnglish;
    }

    public void setRoleEnglish(String roleEnglish) {
        this.roleEnglish = roleEnglish;
    }

    public Integer getParentKeyId() {
        return parentKeyId;
    }

    public void setParentKeyId(Integer parentKeyId) {
        this.parentKeyId = parentKeyId;
    }

    public String getRoleIntro() {
        return roleIntro;
    }

    public void setRoleIntro(String roleIntro) {
        this.roleIntro = roleIntro;
    }

    public Integer getIsSuperMan() {
        return isSuperMan;
    }

    public void setIsSuperMan(Integer isSuperMan) {
        this.isSuperMan = isSuperMan;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }
}
